/*
 * LRU.h
 *
 *  Created on: 2012-6-6
 *      Author: Administrator
 */

#ifndef LRU_H_
#define LRU_H_
#include<deque>
#include<iostream>
using namespace std;
class LRU {
public:
	LRU(int);
	void access(int);
	int getTimecost() const {
		return timecost;
	}
private:
	int size;
	int timecost;
	deque<int> acc;
};

#endif /* LRU_H_ */
